DescribePropertyCount
Description
call the DescribePropertyCount interface to obtain statistical information of asset fingerprints, I .e. statistics of the number of five asset fingerprints: process, port, software, account and planning task.
Request Method
POST
Request Path
/apsara/route/Sas/DescribePropertyCount
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Type | BODY | string | No | port | asset fingerprint type. Optional: user: account software: software process: process port: port cron: scheduled task description type is not filled to query fingerprint information of all types of assets. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
UuidList | BODY | string | No | [c4678332-ef3**,c46***] | unique ID list of asset instances. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
User | integer | 114 | statistics on the number of account assets. |
RequestId | string | 7E0618A9-D5EF-4220-9471-C42B5E92719F | request ID of the result. |
Port | integer | 163 | statistics on the number of listening ports. |
Process | integer | 367 | statistics on the number of running processes. |
Software | integer | 5073 | statistics on the number of software assets. |
Cron | integer | 261 | statistics on the number of scheduled tasks. |
Example
Successful Response example
{
"User":"114",
"RequestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F",
"Port":"163",
"Process":"367",
"Software":"5073",
"Cron":"261"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}